﻿using System.ComponentModel.DataAnnotations;

namespace yc.Site.Models
{
	public class Login
	{
		[Display(Name = "登录名")]
		[Required(ErrorMessage = "请输入{0}")]
		public string LoginName { get; set; }

		[Display(Name = "密码")]
		[DataType(DataType.Password)]
		[Required(ErrorMessage = "请输入{0}")]
		public string Password { get; set; }

		[Display(Name = "记住")]
		[Required]
		public bool RememberMe { get; set; }
	}
}